    @charset "utf-8";
    @import 'reset';
    $fontSize:40;
    @function r($p) {
        @return $p/$fontSize*1rem;
    }
    html{
        font-size: $fontSize;
        width: 100%;
        height: 100%;
    }
    body{
        font-size: 16px;
        width: 100%;
        height: 100%;
    }
    .web {
        height: 100%;
        header {
            .top {
                ul {
                    width: r(640);
                    height: r(75);
                    border-bottom: 1px solid #A7A7A7;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    li {
                        display: flex;
                        align-items: center;
                        font-size: r(30);
                        color: #343434;
                        a {
                            display: flex;
                            align-items: center;
                            margin: 0 r(29);
                            font-size: r(24);
                            color: #585858;
                            img {
                                height: r(38);
                            }
                        }
                    }
                }
            }
        }
        .container {
            width: r(640);
            .text{
                width: r(584);
                margin:  r(28) auto r(15);
                textarea{
                    width: r(584);
                    height: r(230);
                    background: #F2F2F2;
                    padding: r(19);
                    border: none;
                    font-size: r(24);
                    
                    
                }
                textarea::-webkit-input-placeholder{
                    color:#9A9A9A;
                    font-size: r(24);
                }
                textarea::-moz-placeholder{   /* Mozilla Firefox 19+ */
                    color:#9A9A9A;
                    font-size: r(24);
                }
                textarea:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
                    color:#9A9A9A;
                    font-size: r(24);
                }
                textarea:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
                    color:#9A9A9A;
                    font-size: r(24);
                }
            }
            .add{
                margin: 0 auto;
                width: r(584);
                height: r(200);
                background: #F2F2F2;
                display: flex;
                justify-content: flex-start;
                align-items: flex-end;
                padding-bottom: r(19);
                padding-left: r(17);
                .addbtn{
                    width: r(165);
                    height: r(165);
                    line-height:r(165);
                    background: #F2F2F2;
                    border:1px solid #d9d9d9;
                    text-align: center;
                    vertical-align: middle;
                    img{
                        width: r(67);
                        vertical-align: middle;
                        
                    }
                }
                p{
//                  width: r(430);
                    height: r(36);
                    line-height: r(36);
                    text-align: center;
                    font-size: r(20);
                    background: #D9D9D9;
                    color: #a0a0a0;
                    vertical-align: middle;
                    margin-left: r(24);
                    overflow: hidden;
                    img{
                        vertical-align:middle;
                        width: r(17);
                    }
                    span{
                        padding-left: r(7);
                        vertical-align:middle;
                        font-size: r(20);
                    }
                }
            }
            .add_circle{
                margin: r(16) auto 0;
                width: r(584);
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: r(78);
                border-top:1px solid #CCCCCC ;
                .a_left{
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    img{
                       width: r(28); 
                    }
                    p{
                        font-size: r(24);
                        padding-left:r(23);
                    }
                }
                .img{
                    display: flex;
                    align-items: center;
                    img{
                        width: r(15);
                    }
                }
            }
            .add_page{
                margin: 0 auto;
                width: r(584);
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: r(78);
                border-top:1px solid #CCCCCC ;
                border-bottom:1px solid #CCCCCC ;
                .a_left{
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    img{
                       width: r(28); 
                    }
                    p{
                        font-size: r(24);
                        padding-left:r(23);
                    }
                }
                .label{
            height: r(90);
            }
            .btn{
                width: r(108);
                height: r(56);
                background-color: #FFFFFF;
                border: 1px solid #B2B2B2;
                border-radius: r(30);
                display: flex;
                justify-content: flex-start;
                align-items: center;
            }
            #active{
                display: none;
            }
            #active:checked+.btn{
                width: r(108);
                height: r(56);
                background-color: #D9D9D9;
                border-radius: r(30);
                display: flex;
                justify-content: flex-end;
                align-items: center;
            }
            .cir{
                    width: r(56);
                    height: r(56);
                    border-radius:50%;
                    background-color: #ffffff;
                    border: 1px solid #7e7e7e;
                }
                .btn:after{
                    content: "ON";
                    font-size: r(20);
                    color:#A3A3A3;
                    padding-left: r(5);
                }
                #active:checked+.btn:after{
                    display: none;
                }
            }
            .share{
                margin:r(28) auto r(30);
                width: r(584);
                p{
                    font-size: r(24);
                }
                .share_a{
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    margin-top: r(22);
                    img{
                        width: r(62);
                    }
                }
            }
        }
        footer {
            
}
    #elastic{
        display: none;
    }
    #elastic:checked+.elastic_b{
        display: block;
    }
    #elastic:checked+.elastic_b>ul{
        transform: translateY(0);
    }
    .elastic_b{
        width: 100%;
        height: 100%;
        background: rgba(000,000,000,.5);
        position: absolute;
        top: 0;
        left: 0;
        display: none;
        ul{
            width: 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            background: #FFFFFF;
            transition: all .3s;
            transform: translateY(100%);
            li{
               width: 100%; 
               height: r(80);
               font-size: r(26);
               text-align: center;
               line-height: r(80);
               border-bottom:1px solid #dcdcdc ;
               color: #343434;
            }
            .cencel{
                color: #a3a3a3;
                border: none;
            }
        }
    }
}